<template>
    <div>
        <el-button type="primary" @click="dialogVisible = true">点击打开 Dialog</el-button>

        <el-dialog
                title="提示"
                :visible.sync="dialogVisible"
                :modal-append-to-body="false"
                width="80%"
                top="70px"
                center>
            <div>
                <GoJSModel />
            </div>
            <span slot="footer" class="dialog-footer">
                <el-button @click="dialogVisible = false">取 消</el-button>
                <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
            </span>
        </el-dialog>
    </div>
</template>

<script lang="ts">
    import {Component, Vue} from "vue-property-decorator";

    import GoJSModel from './dialog/GoJSModel.vue'

    @Component({
        components: {
            GoJSModel
        }
    })
    export default class CalcModelList extends Vue {
        private dialogVisible: boolean = false;
    }
</script>

<style lang="scss">

</style>
